home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / miscgiskit / MiscCoordConverterClient.h < prev    next >
Encoding:
Text File  |  1995-07-20  |  1.1 KB  |  39 lines

  1. /*======================== MiscCoordConverterClient.h =======================*/
  2. /* The MiscCoordConverterClient protocol is required so that a converter can
  3.    acquire the information it needs to carry out a coordinate system
  4.    conversion.
  5.  
  6.    The information that can be gotten via this protocol is essentially a
  7.    job description of the work the converter is to do, not a description
  8.    of the MiscCoord object itself.
  9.  
  10.    DMA Release 0.8, Copyright @1993 by Genesis Project, Ltd. All Rights
  11.    Reserved. For further information on terms and conditions see
  12.         the MiscKit license.
  13.  
  14. HISTORY
  15. 12-Mar-93  Dale Amon at GPL
  16.        Created.
  17. */
  18.  
  19. @protocol MiscCoordConverterClient
  20.  
  21. + (double)    radiansToDegrees: (double) angle;
  22. + (double)    degreesToRadians: (double) angle;
  23. + (double)    toDegreesOnlyDegrees: (double) deg
  24.             minutes: (double) min
  25.             seconds: (double) sec;
  26.  
  27. + (double)    fromDegreesOnly: (double) degrees
  28.             degrees: (double *) deg
  29.             minutes: (double *) min
  30.             seconds: (double *) sec;
  31.  
  32. + (unsigned int)    dimensions;
  33. -                     constants;
  34. - (double*)            curPtr;
  35. - (unsigned int)    curBlockSize;
  36.  
  37. @end
  38.  
  39.